package com.ship.boats.domain;

import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * <b>CurrencyExchangeRate</b>
 *
 * @description: CurrencyExchangeRate <br>
 * @date: 2024/3/19 16:44 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class CurrencyExchangeRate {
    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "结算时间")
    private Date curveDate;

    @ApiModelProperty(value = "持有货币类型")
    private String currencyHeldType;

    @ApiModelProperty(value = "兑换货币类型")
    private String currencyExchangeType;

    @ApiModelProperty(value = "汇率")
    private Double exchangeRate;

    @ApiModelProperty(value = "操作用户")
    private String operatorUser;

    @ApiModelProperty(value = "操作时间")
    private Date operatorDate;

    @ApiModelProperty(value = "curve主键")
    private Integer curveUid;

    @ApiModelProperty(value = "结算类型：S-结算价F-远期价")
    private String settleFwd;

    @ApiModelProperty(value = "seq范围")
    private Integer rangeSeq;

    @ApiModelProperty(value = "开始时间")
    private Date rangeBegDate;

    @ApiModelProperty(value = "结束时间")
    private Date rangeEndDate;

    @ApiModelProperty(value = "可用状态：0-不可用，1-可用")
    private String enable;

    @ApiModelProperty(value = "创建用户")
    private String createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改用户")
    private String updateUser;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCurveDate() {
        return curveDate;
    }

    public void setCurveDate(Date curveDate) {
        this.curveDate = curveDate;
    }

    public String getCurrencyHeldType() {
        return currencyHeldType;
    }

    public void setCurrencyHeldType(String currencyHeldType) {
        this.currencyHeldType = currencyHeldType;
    }

    public String getCurrencyExchangeType() {
        return currencyExchangeType;
    }

    public void setCurrencyExchangeType(String currencyExchangeType) {
        this.currencyExchangeType = currencyExchangeType;
    }

    public Double getExchangeRate() {
        return exchangeRate;
    }

    public void setExchangeRate(Double exchangeRate) {
        this.exchangeRate = exchangeRate;
    }

    public String getOperatorUser() {
        return operatorUser;
    }

    public void setOperatorUser(String operatorUser) {
        this.operatorUser = operatorUser;
    }

    public Date getOperatorDate() {
        return operatorDate;
    }

    public void setOperatorDate(Date operatorDate) {
        this.operatorDate = operatorDate;
    }

    public Integer getCurveUid() {
        return curveUid;
    }

    public void setCurveUid(Integer curveUid) {
        this.curveUid = curveUid;
    }

    public String getSettleFwd() {
        return settleFwd;
    }

    public void setSettleFwd(String settleFwd) {
        this.settleFwd = settleFwd;
    }

    public Integer getRangeSeq() {
        return rangeSeq;
    }

    public void setRangeSeq(Integer rangeSeq) {
        this.rangeSeq = rangeSeq;
    }

    public Date getRangeBegDate() {
        return rangeBegDate;
    }

    public void setRangeBegDate(Date rangeBegDate) {
        this.rangeBegDate = rangeBegDate;
    }

    public Date getRangeEndDate() {
        return rangeEndDate;
    }

    public void setRangeEndDate(Date rangeEndDate) {
        this.rangeEndDate = rangeEndDate;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", curveDate=").append(curveDate);
        sb.append(", currencyHeldType=").append(currencyHeldType);
        sb.append(", currencyExchangeType=").append(currencyExchangeType);
        sb.append(", exchangeRate=").append(exchangeRate);
        sb.append(", operatorUser=").append(operatorUser);
        sb.append(", operatorDate=").append(operatorDate);
        sb.append(", curveUid=").append(curveUid);
        sb.append(", settleFwd=").append(settleFwd);
        sb.append(", rangeSeq=").append(rangeSeq);
        sb.append(", rangeBegDate=").append(rangeBegDate);
        sb.append(", rangeEndDate=").append(rangeEndDate);
        sb.append(", enable=").append(enable);
        sb.append(", createUser=").append(createUser);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateUser=").append(updateUser);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}
